package com.yxy.dao;
import com.yxy.base.MyMapper;
import com.yxy.dto.TableProductDto;
import com.yxy.model.TableProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TableProductMapper extends MyMapper<TableProduct> {

    int deleteByIds(@Param("ids") List<Long> ids);

    List<TableProduct> selectNameAndInventory(TableProductDto tableProductDto);


}
